با ما در درست کردن پیراشکی متفاوت همراه باشید
نظرات کاربران :
' });
}
});
}
$(document).ready(function () {
$('#comment_message').markItUp(mySettings);
$('.comment_cancel_reply').click(function () {
$('#comment_reply_id').val('');
$('#comment_reply_to').val('');
$('.comment_reply_form').slideUp();
});
$('#comment_submit').click(function (e) {
var msg = $().iAjax({
objs: [
['#comment_subject', 'comment_subject', 1, 'any', 1],
['#comment_author', 'comment_author', 0, 'any', 1],
['#comment_message', 'comment_message', 1, 'any', 1],
['#comment_reply_id', 'comment_reply_id', 0, 'number', 1]
],
posturl: '/incs/tools/comment.ajax.aspx?lang=' + lang + '&portal=' + portal,
secure: true,
style: 'comment_error',
extraquery: 'comment_id=10054',
poststart: function () {
$.blockUI({ message: '' });
},
posterror: function () {
$.unblockUI({
onUnblock: function () { AlertMsg(eval('iLang.' + lang + '.SystemMessage'), eval('iLang.' + lang + '.AjaxModuleError'), 0); }
});
},
postend: function (msg) {
$.unblockUI();
var b = eval("(" + msg + ")");
if (b.status == "ok") {
AlertMsg(eval('iLang.' + lang + '.SystemMessage'), b.message, 1);
}
else {
AlertMsg(eval('iLang.' + lang + '.SystemMessage'), b.message, 0);
}
$('#comment_subject').val('');
$('#comment_author').val('');
$('#comment_message').val('');
$('.comment_reply_form').slideUp();
}
});
e.preventDefault();
});
$('.comment_total').each(function () {
if (eval($(this).text()) 0)
$(this).text('+' + $(this).text());
}
});
});
فوت و فن...
ما را در سایت فوت و فن دنبال می کنید
برچسب : نویسنده : دانلودی footofan بازدید : 214 تاريخ : يکشنبه 17 مرداد 1395 ساعت: 1:08